//
//  YSAccountOrderStatusCtrl.h
//  Yueshi
//
//  Created by Northwan on 15/7/31.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import "BaseViewController.h"
@protocol YSAccountOrderStatusDelegate <NSObject>
@optional
-(void)orderStatusFinish:(int)type;
@end

typedef enum {
    //通过购物篮进入
    orderStatusFinishCartType = 0,
    //通过订单中心进入
    orderStatusFinishOrderCenterType = 1,
    //通过订单列表进入
    orderStatusFinishOrderDetailType = 2,
    //通过商品详情进入
    orderStatusFinishProductDetailType = 3
    
}OrderStatusFinishType;

@interface YSAccountOrderStatusCtrl : BaseViewController
+(instancetype)initWithResultCode:(NSString *)resultCode targetType:(OrderStatusFinishType)targetType;
@property(nonatomic,weak) id<YSAccountOrderStatusDelegate> delegate;

@end
